
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui">
    
        <div style="margin: 0; padding: 0" class="ui-panel-content ui-widget-content">
            <h:form>
                <h:commandLink styleClass="curLocale#{frontController.checkLocale('en')}"
                                action="#{frontController.changeLocale()}" value="Eng" >
                   <f:setPropertyActionListener target="#{frontController.user.locale}" value="en"/>
               </h:commandLink>|
                <h:commandLink styleClass="curLocale#{frontController.checkLocale('ru')}"
                               action="#{frontController.changeLocale()}" value="Рус" >
                    <f:setPropertyActionListener target="#{frontController.user.locale}" value="ru"/>
                    </h:commandLink>|
                <h:commandLink styleClass="curLocale#{frontController.checkLocale('uk')}"
                               action="#{frontController.changeLocale()}" value="Укр" >
                    <f:setPropertyActionListener target="#{frontController.user.locale}" value="uk"/>
                    </h:commandLink>|
            </h:form>
        </div>
</ui:composition>
